// import http from "@/utils/http";
import https from "@/utils/https";
export const getBannerAPI = ( parmas = {} ) => {
  const {distributionSite = '1'} = parmas;
  return https({
    url: "home/banner",
    params: {
      distributionSite
    }
  });
};
export const findNewAPI = () => {
  return https({
    url: "home/new",
    
  });
};
export const getHotAPI = () => {
  return https("home/hot");
};
export const getGoodsAPI = () => {
  return https("home/goods");
};